export function searchColumns() {
  return [
    {
      prop: 'test',
      type: 'select',
      placeholder: this.$t(`placeholder.staffs`),
    },
    {
      prop: 'test',
      type: 'select',
      placeholder: this.$t(`placeholder.columns`),
    },
    {
      prop: 'test',
      type: 'daterange',
      placeholder: '日期',
    },
  ]
}

export function tableColumns() {
  return [
    {
      label: '资源名称',
      prop: 'Name',
      align: 'left',
      formatter: row => this.generateMenu(row),
      width: 230,
    },
    {
      label: '资源路径',
      prop: 'Name',
      align: 'left',
      width: 240,
    },
    {
      label: '资源权限',
      prop: 'Perms',
      align: 'left',
      type: 'checkbox',
    },
  ]
}
